package com.yjkf.zh.admin.dao;

import com.yjkf.zh.admin.model.SysDeviceEvent;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysDeviceEventMapper {

    List<SysDeviceEvent> findDeviceEventList(@Param(value="userDeviceId") Long userdeviceId,@Param(value="createId") Long createId);

    //List<SysDeviceEvent> findDeviceEventPage(Map<String,Object> data);
    List<SysDeviceEvent> findDeviceEventPage(@Param(value = "start") int start,@Param(value="pageSize") int pageSize);
    SysDeviceEvent deviceEventCount();

    List<SysDeviceEvent> findDeviceEventForIdentName(@Param(value="identName") String identName);

    int saveDeviceEvent(SysDeviceEvent sysDeviceEvent);
}
